package com.yylending.las.common.utils.preferenceutils;

/**
 * SharePreference 常量配置文件
* 命名格式：SP_KEY_表征value功能或用途的描述
* @author ying_he
* @date 2017/3/14 17:33
*/
public class PreferenceConstants {
	public final static String KEY_RSA = "rsa_key";
	public final static String KEY_LOGIN_NAME = "login_name";
	public final static String SP_KEY_LOGIN_TOKEN = "login_token"; // 登录token
	public final static String SP_KEY_LOGIN_USERID = "login_userid"; // 登录token
	public final static String SP_KEY_USER_NAME = "login_user_name"; // 登录返回的用户名
	public final static String KEY_AES = "aes_key";

	//获取额度相关信息保存key
	public final static String KEY_BASE_INFO = "base_info";
	public final static String KEY_LOCATION_INFO = "location_info";
	public final static String KEY_OPTIONS = "options";

	public final static String KEY_FIRST_TIME_TO_LAUNCH = "first_time_to_launch";
	public final static String KEY_USER_AGREEMENT="user_agreement";

	//	public static String CONFIGURATION = "";
	public final static String KEY_CONFIGURATION_GESTURES = "gestures_toggle";
	public final static String KEY_CONFIGURATION_GESTURES_COUNT = "gestures_count";

	public final static String LAST_CANCEL_UPDATE_TIME="last_cancel_update_time";//上一次取消更新的时间

	public final static String SP_KEY_GESTURES_TOGGLE = "gestures_toggle"; // 是否开启手势密码
	public final static String SP_KEY_GESTURES_STRING = "gestures_string"; // 手势密码值
	public final static String SP_KEY_GESTURES_COUNT = "gestures_count"; // 输入密码错误数
	public final static String SP_KEY_FINGERPRINT_TOGGLE = "fingerprint_toggle"; // 是否开启指纹密码验证
	public final static String SP_KEY_APP_VERSION = "app_version"; // 是否开启手势密码
	public static final String TINKER_TIME_STAMP = "tinker_time_stamp"; //补丁时间戳
	public static final String TINKER_URL = "tinker_url"; //补丁下载地址
	public static final String TINKER_DOWNLOAD_COMPLETED = "tinker_download_completed"; //补丁下载完成，防止重复下载
	public static final String TINKER_NEED_RESTART = "tinker_need_restart"; //需要重启
	public static final String TINKER_RESULT = "tinker_result"; //热修复结果


}
